﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using pos.entity;
using System.Collections;
using NHibernate.Criterion;
using idea.tools;
namespace pos
{
    public partial class reportParaFrm : Form
    {
        public reportParaFrm()
        {
            InitializeComponent();
        }

        private void reportParaFrm_Load(object sender, EventArgs e)
        {
            CommodityClassUtil.initCommodityClass1(commodityClass1);
            CommodityClassUtil.initCommodityClass2(commodityClass1,commodityClass1);
            CommodityClassUtil.initCommodityClass3(commodityClass2,commodityClass3);
            
        }


        private void commodityClass1_SelectionChangeCommitted(object sender, EventArgs e)
        {
           // CommodityClassUtil.initCommodityClass1(commodityClass1);
            CommodityClassUtil.initCommodityClass2(commodityClass1, commodityClass1);
            CommodityClassUtil.initCommodityClass3(commodityClass2, commodityClass3);
        }

        private void commodityClass2_SelectionChangeCommitted(object sender, EventArgs e)
        {
           // CommodityClassUtil.initCommodityClass1(commodityClass1);
           // CommodityClassUtil.initCommodityClass2(commodityClass1, commodityClass1);
            CommodityClassUtil.initCommodityClass3(commodityClass2, commodityClass3);
        }


      
    }
}
